Print 'START: Crear la tabla Groupon_has_Ciudad'
CREATE TABLE MARAVILLA_SQL.Groupon_has_Ciudad(
	intIdRelacion	int	IDENTITY(1, 1)	NOT NULL,
	intIdCiudad	int NOT NULL,
	intIdGroupon	int NOT NULL,
	CONSTRAINT PK_Groupon_has_Ciudad PRIMARY KEY CLUSTERED
	(
		IntIdRelacion ASC
	)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
	, FOREIGN KEY (intIdCiudad) REFERENCES MARAVILLA_SQL.Ciudades(IntIdCiudad)
	, FOREIGN KEY (intIdGroupon) REFERENCES MARAVILLA_SQL.Groupons(IntIdGroupon)
) ON [PRIMARY]

GO
Print 'END: Crear la tabla Groupon_has_Ciudad'